import { buildService } from '../../helper/service'

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {
  // 获取发票信息信息
  getOrderInfo: {
    url: '/api/v1/personal/invoice-base',
    method: 'get'
  },
   // 添加发票地址
   getAddOrderInfo: {
    url: '/api/v1/personal/invoice-base',
    method: 'post'
  },
   // 编辑发票地址
   getEditOrderInfo: {
    url: '/api/v1/personal/invoice-base',
    method: 'put'
  },
}

export default buildService(settings)
